extends Talent

var buffs = globalData.infoDs["g_azurlaneBuffs"]
func init():
	name = "后效强化"
func _connect():
	sys.main.connect("onCharaAddBuff",self,"run")

var includes = ["b_poJia", "b_paoShu", "b_shaoShi", "b_zhenFen", "b_jianShou", "b_suGong", "b_qiangGong", "b_lingDong", "b_liuXueR",
"b_xuRuo", "b_zhongLi", "b_shuangDong", "b_zhiMang", "b_ganRao"]
func run(buff:Buff):
	if includes.has(buff.id):
		if buff.isNegetive and buff.masCha.team == 2 || not buff.isNegetive and buff.masCha.team == 1:
			buff.pw = (1 + 0.2*lv)

#12 14 16 18 20
func get_info():
	return "我方角色施加的<活力><炮术><烧蚀><干扰><破甲><振奋>等正反面效果提高%d%%"%[10+lv*2]

